package se.sll.service.catalogue.common.exception;

/**
 * <P>Use <code>NotAuthorizedException</code> to signal lack of authorization.
 * @author Christer Palm
 */
public class NotAuthorizedException extends ServiceErrorCodeException {
    private static final long serialVersionUID = 1L;

    public NotAuthorizedException(ServiceErrorCode errorCode, Object... args) {
        super(errorCode, args);
    }

    public NotAuthorizedException(ServiceErrorCode errorCode) {
        super(errorCode);
    }
}
